﻿#include "train_schedule.h"
#include <iostream>
#include <string>

//Get方法实现
int train_schedule::getScheduleId() const {
	return schedule_id;
}
int train_schedule::getTrainId() const {
	return train_id;
}
int train_schedule::getStationId() const {
	return station_id;
}
int train_schedule::getStopOrder() const {
	return stop_order;
}
std::string train_schedule::getDepartTime() const {
	return depart_time;
}
std::string train_schedule::getArrivalTime() const {
	return arrival_time;
}
// Set方法实现
void train_schedule::setScheduleId(int id) {
	schedule_id = id;
}
void train_schedule::setTrainId(int t_id) {
	train_id = t_id;
}
void train_schedule::setStationId(int s_id) {
	station_id = s_id;
}
void train_schedule::setStopOrder(int order) {
	stop_order = order;
}
void train_schedule::setDepartTime(const std::string& depart) {
	depart_time = depart;
}
void train_schedule::setArrivalTime(const std::string& arrival) {
	arrival_time = arrival;
}




